package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CommentVO {
    @ApiModelProperty(value = "评论编号")
    private Long id;
    @ApiModelProperty(value = "评论内容")
    private String content;
    @ApiModelProperty(value = "评论创建时间",example = "年月日 时分秒")
    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒",timezone = "Asia/Shanghai")
    private Date created;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
}
